package sub.event
{
	import cpnt.iris.Slot;
	
	import flash.events.Event;
	
	import orm.iris.vo.TblCharacterVO;
	
	public class CharacterEvent extends Event
	{
		public static const CHARACTER_EVENT_CLICK:String = "characterEventClick";
		public static const CHARACTER_EVENT_DELETE:String = "characterEventDelete";
		
		/**
		 * bubbles: true
		 */
		public function CharacterEvent(type:String, tblCharacterVo:TblCharacterVO, slot:Slot = null):void
		{
			super(type, true);
			
			this._slot = slot;
			this._tblCharacterVo = tblCharacterVo;
		}
		
		private var _slot:Slot;
		private var _tblCharacterVo:TblCharacterVO;
		
		public function get slot():Slot
		{
			return this._slot;
		}
		public function get tblCharacterVo():TblCharacterVO
		{
			return this._tblCharacterVo;
		}
	}
}